/* Knock — device & app mockup component library.
   Static "screenshot" frames for the How-it-works pages, in the same visual
   language as the homepage sync-hub. Loaded on demand via knock_mockups_link().
   Depends on marketing.css tokens (--accent, --text, --muted, --glass-bg,
   --hairline, --hairline-strong, --green, --cyan, --shadow-elev). */

:root {
  --sms: #10d99b;
  --fb: #0084ff;
  --li: #0a66c2;
  --x: #e7e9ea;
  --ig-grad: linear-gradient(135deg,#feda75 0%,#fa7e1e 28%,#d62976 58%,#962fbf 82%,#4f5bd5 100%);
  --glass: rgba(255,255,255,.04);
}

/* ======================================================================
   HOW-IT-WORKS LAYOUT PRIMITIVES
   ====================================================================== */

/* Alternating "step + screenshot" rows */
.hiw-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.hiw-step + .hiw-step { border-top: 1px solid var(--hairline); }
.hiw-step.reverse .hiw-copy { order: 2; }
.hiw-step.reverse .hiw-shot { order: 1; }
.hiw-copy .step-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.hiw-copy .step-tag .n {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: 0;
}
.hiw-copy h3 { font-size: clamp(22px,2.6vw,30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 0 0 14px; }
.hiw-copy p { font-size: 16.5px; color: var(--muted); margin: 0 0 14px; max-width: 480px; }
.hiw-copy ul.hiw-points { list-style: none; padding: 0; margin: 6px 0 0; }
.hiw-copy ul.hiw-points li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 15px; color: var(--text);
}
.hiw-copy ul.hiw-points li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 15px; height: 15px; border-radius: 5px; background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px rgba(124,58,237,.5);
}
.hiw-copy ul.hiw-points li::after {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 4px; border-left: 1.6px solid var(--cyan); border-bottom: 1.6px solid var(--cyan);
  transform: rotate(-45deg);
}
.hiw-shot { display: flex; justify-content: center; }

/* A platform section heading (Social page) */
.plat-head {
  display: flex; align-items: center; gap: 14px;
  padding: 28px 0 4px;
}
.plat-head .plat-ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; color: #fff; flex: none;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.6);
}
.plat-head .plat-ic.li { background: #0a66c2; }
.plat-head .plat-ic.fb { background: #0084ff; }
.plat-head .plat-ic.ig { background: var(--ig-grad); }
.plat-head .plat-ic.x  { background: #000; border: 1px solid #333; }
.plat-head .plat-ic.sms { background: #10d99b; }
.plat-head h2 { font-size: clamp(24px,3vw,32px); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.plat-head .plat-sub { font-size: 13.5px; color: var(--quiet); margin-top: 2px; }

/* caption under a screenshot */
.shot-cap {
  text-align: center; font-size: 12.5px; color: var(--quiet);
  margin: 14px auto 0; max-width: 320px; line-height: 1.4;
}
.shot-cap b { color: var(--muted); font-weight: 600; }

/* ======================================================================
   GENERIC DEVICE FRAME (native platform posts — static, in normal flow)
   Adapted from the homepage .node cards.
   ====================================================================== */
.device {
  width: 300px; max-width: 100%;
  background: #fff; color: #0b1220;
  border-radius: 18px;
  box-shadow: 0 34px 74px -22px rgba(0,0,0,.85);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.device.wide { width: 380px; }
.avm { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#5b8def,#2f6bd8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }

/* platform header ribbon */
.pstrip { display: flex; align-items: center; gap: 6px; padding: 8px 12px; flex: none; border-bottom: 1px solid rgba(0,0,0,.06); }
.pstrip .pi { width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.pstrip .pn { font-weight: 800; font-size: 11px; letter-spacing: -.01em; }
.pstrip .pm { font-weight: 500; font-size: 9.5px; color: #7a8299; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pstrip .ps { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7c3aed; flex: none; }
.pstrip .ps i { width: 5px; height: 5px; border-radius: 50%; background: #7c3aed; box-shadow: 0 0 6px rgba(124,58,237,.85); animation: mkpulse 1.6s infinite; }
.pstrip.li { background: #eef3fa; } .pstrip.li .pi { background: #0a66c2; }
.pstrip.fb { background: #eef4ff; } .pstrip.fb .pi { background: #0084ff; }
.pstrip.ig { background: #fdeef5; } .pstrip.ig .pi { background: var(--ig-grad); }
.pstrip.sms { background: #0f1a17; border-bottom-color: rgba(255,255,255,.08); } .pstrip.sms .pi { background: #10d99b; } .pstrip.sms .pn { color: #eafff6; } .pstrip.sms .pm { color: #89a89b; } .pstrip.sms .ps { color: #7dd3fc; } .pstrip.sms .ps i { background: #7dd3fc; box-shadow: 0 0 6px #7dd3fc; }
.pstrip.x { background: #0d0f12; border-bottom-color: #1f2226; } .pstrip.x .pi { background: #000; border: 1px solid #333; } .pstrip.x .pn { color: #e7e9ea; } .pstrip.x .pm { color: #71767b; } .pstrip.x .ps { color: #7dd3fc; } .pstrip.x .ps i { background: #7dd3fc; box-shadow: 0 0 6px #7dd3fc; }
@keyframes mkpulse { 0% { box-shadow: 0 0 0 0 rgba(124,58,237,.6); } 70% { box-shadow: 0 0 0 7px rgba(124,58,237,0); } 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); } }

/* --- LinkedIn: new-role / promotion post --- */
.li-post { padding: 11px 13px 12px; }
.li-ph { display: flex; gap: 8px; align-items: flex-start; }
.li-ph .avm { background: linear-gradient(135deg,#5b8def,#2f6bd8); }
.li-ph .i { flex: 1; line-height: 1.25; min-width: 0; }
.li-ph .i b { font-size: 11.5px; }
.li-ph .i .s { display: block; font-size: 9.5px; color: #8b93a7; }
.li-ph .i .t { display: block; font-size: 9px; color: #8b93a7; }
.li-tx { font-size: 11.5px; line-height: 1.42; margin: 9px 0; color: #1a2233; }
.li-cel { border-radius: 9px; padding: 13px 12px; background: linear-gradient(135deg,#0a3d6e,#0a66c2 55%,#378fe9); color: #fff; position: relative; overflow: hidden; margin-bottom: 9px; }
.li-cel::after { content: '🎉'; position: absolute; right: 9px; top: 8px; font-size: 17px; }
.li-cel .lbl { font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.li-cel .role { font-size: 13px; font-weight: 800; line-height: 1.2; margin-top: 3px; }
.li-cel .co { font-size: 10px; opacity: .92; margin-top: 1px; }
.li-react { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: #8b93a7; padding-bottom: 9px; border-bottom: 1px solid #eef0f3; }
.li-react .rx { display: inline-flex; }
.li-react .rx i { width: 14px; height: 14px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; color: #fff; margin-left: -3px; border: 1.5px solid #fff; }
.li-react .rx i:first-child { margin-left: 0; }
.li-you { display: flex; gap: 6px; margin-top: 9px; align-items: flex-start; }
.li-you .avm { width: 22px; height: 22px; font-size: 9px; background: linear-gradient(135deg,#7c3aed,#06b6d4); }
.li-you .bub { flex: 1; background: #f3f6f9; border-radius: 3px 10px 10px 10px; padding: 7px 9px; font-size: 10.5px; line-height: 1.35; color: #1a2233; }
.li-you .bub b { font-size: 9px; display: block; color: #0a66c2; text-transform: uppercase; letter-spacing: .04em; }

/* --- iMessage (Text) --- */
.device.sms { background: #0a0a0c; color: #fff; }
.im-bar { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 10px 9px; border-bottom: .5px solid rgba(255,255,255,.1); flex: none; }
.im-bar .avm { width: 28px; height: 28px; background: linear-gradient(135deg,#ef9b6e,#d97757); }
.im-bar span { font-size: 10px; color: #fff; }
.im-thread { padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: flex-end; }
.im-thread .ts { text-align: center; font-size: 8.5px; color: #8b8b90; margin-bottom: 4px; font-weight: 600; }
.im-b { max-width: 84%; padding: 7px 11px; border-radius: 16px; font-size: 11px; line-height: 1.35; }
.im-b.in { align-self: flex-start; background: #26262a; color: #fff; border-bottom-left-radius: 5px; }
.im-b.out { align-self: flex-end; background: linear-gradient(180deg,#2b9bfd,#0a7cff); color: #fff; border-bottom-right-radius: 5px; }
.im-d { align-self: flex-end; font-size: 8.5px; color: #8b8b90; margin: 1px 3px 2px; }

/* --- X tweet --- */
.device.x { background: #000; color: #e7e9ea; }
.x-post { padding: 12px 13px; flex: 1; }
.x-top { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.x-top .avm { background: linear-gradient(135deg,#5b8def,#2f6bd8); }
.x-top .n { flex: 1; line-height: 1.2; }
.x-top .n b { font-size: 11.5px; color: #e7e9ea; display: inline-flex; align-items: center; gap: 3px; }
.x-top .n .h { display: block; font-size: 9.5px; color: #71767b; }
.x-tx { font-size: 11.5px; line-height: 1.42; margin-bottom: 9px; color: #e7e9ea; }
.x-tx .hash { color: #1d9bf0; }
.x-meta { font-size: 9.5px; color: #71767b; padding: 2px 0 9px; margin-bottom: 9px; border-bottom: 1px solid #242628; }
.x-meta b { color: #e7e9ea; }
.x-you { padding-top: 2px; font-size: 9.5px; color: #71767b; display: flex; align-items: center; gap: 5px; }
.x-you b { color: #f91880; }

/* --- Facebook / Messenger --- */
.device.fb { background: #fff; }
.fb-bar { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-bottom: 1px solid #eceef2; }
.fb-bar .avw { position: relative; }
.fb-bar .avw .avm { width: 27px; height: 27px; background: linear-gradient(135deg,#5b8def,#2f6bd8); }
.fb-bar .avw .dt { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: #31d07a; border: 1.5px solid #fff; }
.fb-bar .w b { font-size: 11.5px; display: block; line-height: 1.15; }
.fb-bar .w span { font-size: 9px; color: #31d07a; }
.fb-thread { padding: 12px 11px; display: flex; flex-direction: column; gap: 5px; justify-content: flex-end; flex: 1; }
.fb-b { max-width: 84%; padding: 7px 11px; border-radius: 15px; font-size: 11px; line-height: 1.35; }
.fb-b.in { align-self: flex-start; background: #e4e6eb; color: #1a2233; border-bottom-left-radius: 5px; }
.fb-b.out { align-self: flex-end; background: #0084ff; color: #fff; border-bottom-right-radius: 5px; }
.fb-rxn { align-self: flex-end; margin: -8px 6px 0; background: #fff; border: 1px solid #e6e8ee; border-radius: 999px; padding: 1px 5px; font-size: 9px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* --- Instagram --- */
.device.ig { background: #fff; }
.ig-bar { display: flex; align-items: center; gap: 7px; padding: 8px 11px; }
.ig-ring { width: 27px; height: 27px; border-radius: 50%; padding: 2px; background: var(--ig-grad); flex: none; }
.ig-ring span { display: flex; width: 100%; height: 100%; border-radius: 50%; background: #fff; color: #333; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.ig-bar b { font-size: 11px; flex: 1; }
.ig-bar .t { font-size: 9px; color: #8b93a7; font-weight: 400; }
.ig-photo { width: 100%; height: 150px; object-fit: cover; display: block; background: #e9edf2; }
.ig-act { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px 3px; color: #262626; }
.ig-act .lft { display: inline-flex; gap: 11px; align-items: center; }
.ig-act .liked { color: #ed4956; }
.ig-likes { padding: 1px 11px; font-size: 10.5px; font-weight: 700; }
.ig-cap { padding: 2px 11px 0; font-size: 10.5px; line-height: 1.35; }
.ig-cap b { font-weight: 700; }
.ig-you { padding: 5px 11px 10px; font-size: 10.5px; }
.ig-you b { font-weight: 700; }
.ig-you .cm { color: #8b93a7; }

/* "Knock drafted / posted this" annotation ribbon under a native frame */
.drafted {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 8px 13px;
  background: var(--glass-bg); border: 1px solid var(--hairline-strong);
  border-radius: 999px; font-size: 12px; color: var(--muted); backdrop-filter: blur(8px);
}
.drafted .kdot { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.drafted b { color: var(--text); font-weight: 600; }

/* ======================================================================
   KNOCK APP WINDOW (dark, branded) — dashboard / approval queue /
   template editor / sequence builder / pipeline.
   ====================================================================== */
.kn-win {
  width: 440px; max-width: 100%;
  border-radius: 18px;
  color: #fff;
  border: 1.4px solid transparent;
  background: linear-gradient(180deg,#0e1436,#0a0f28) padding-box, linear-gradient(135deg,#7c3aed,#06b6d4) border-box;
  box-shadow: 0 40px 100px -22px rgba(0,0,0,.85), 0 0 90px -30px rgba(124,58,237,.5);
  overflow: hidden;
}
.kn-win.sm { width: 380px; }
.kn-top {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 15px;
  background: linear-gradient(135deg,#7c3aed,#06b6d4);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.18);
}
.kn-top .kn-mark { width: 30px; height: 30px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.kn-top .kn-mark b { font-weight: 800; font-size: 16px; background: linear-gradient(135deg,#7c3aed,#06b6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kn-top .kn-ti b { font-size: 13.5px; font-weight: 800; line-height: 1.1; display: block; }
.kn-top .kn-ti span { font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.kn-top .kn-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; letter-spacing: .1em; color: #fff; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.42); border-radius: 999px; padding: 4px 9px; }
.kn-top .kn-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: mkpulseW 1.6s infinite; }
@keyframes mkpulseW { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.kn-body { padding: 14px 15px 16px; }

/* section label inside a window */
.kn-lab { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8b97b5; margin: 2px 0 10px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; }

/* signal / event badge */
.kn-sig { display: flex; align-items: center; gap: 9px; background: rgba(124,58,237,.18); border: 1px solid rgba(124,58,237,.42); border-radius: 11px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: #e6e2ff; margin-bottom: 12px; }
.kn-sig .si { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.kn-sig .si.li { background: #0a66c2; } .kn-sig .si.fb { background: #0084ff; } .kn-sig .si.ig { background: var(--ig-grad); } .kn-sig .si.x { background: #000; } .kn-sig .si.sms { background: #10d99b; }
.kn-sig small { display: block; font-size: 10px; font-weight: 500; color: #9db0d6; }

/* contact / list rows */
.kn-row { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); margin-bottom: 8px; }
.kn-row .kav { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#ef9b6e,#d97757); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.kn-row .kt { flex: 1; min-width: 0; line-height: 1.3; }
.kn-row .kt b { font-size: 12.5px; font-weight: 700; color: #fff; display: block; }
.kn-row .kt span { font-size: 10.5px; color: #93a0bd; }
.kn-row .kbadge { flex: none; font-size: 8.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.kbadge.li { background: rgba(10,102,194,.2); color: #7db4f0; }
.kbadge.fb { background: rgba(0,132,255,.2); color: #7db8ff; }
.kbadge.ig { background: rgba(214,41,118,.2); color: #ff9ec8; }
.kbadge.x  { background: rgba(255,255,255,.12); color: #d7dbe0; }
.kbadge.sms { background: rgba(16,217,155,.18); color: #5fe6bf; }
.kbadge.ok { background: rgba(16,217,155,.18); color: #5fe6bf; }
.kbadge.warn { background: rgba(255,193,90,.18); color: #ffce7a; }

/* draft preview bubble */
.kn-draft { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 11px 12px; font-size: 12.5px; line-height: 1.45; color: #e9edfb; margin-bottom: 12px; }
.kn-draft .tok { color: #7dd3fc; font-weight: 600; }
.kn-draft .vhead { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8b97b5; margin-bottom: 6px; }

/* compliance checklist */
.kn-check { list-style: none; padding: 0; margin: 0 0 12px; }
.kn-check li { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #c5cce4; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.kn-check li:last-child { border-bottom: none; }
.kn-check li .ck { width: 18px; height: 18px; border-radius: 6px; background: rgba(16,217,155,.16); color: #10d99b; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; flex: none; }
.kn-check li b { color: #fff; font-weight: 600; }

/* approve buttons row */
.kn-actions { display: flex; gap: 9px; }
.kn-btn { flex: 1; border: none; border-radius: 11px; padding: 12px; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: default; font-family: inherit; }
.kn-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(6,182,212,.6); }
.kn-btn.ghost { flex: none; padding: 12px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #c5cce4; }

/* segmented control / tabs inside window */
.kn-seg { display: inline-flex; gap: 3px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.kn-seg span { font-size: 10.5px; font-weight: 700; color: #93a0bd; padding: 6px 11px; border-radius: 8px; }
.kn-seg span.on { background: var(--accent); color: #fff; }

/* mini template field */
.kn-field { margin-bottom: 10px; }
.kn-field label { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8b97b5; display: block; margin-bottom: 5px; }
.kn-input { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; padding: 10px 11px; font-size: 12px; color: #e9edfb; }

/* sequence / pipeline steps */
.kn-seq { position: relative; padding-left: 26px; }
.kn-seq::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg,#7c3aed,#06b6d4); border-radius: 2px; }
.kn-seq .sq { position: relative; margin-bottom: 12px; }
.kn-seq .sq::before { content: ''; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #0e1436; border: 2px solid #06b6d4; }
.kn-seq .sq .when { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7dd3fc; }
.kn-seq .sq .what { font-size: 12.5px; color: #e9edfb; margin-top: 2px; }
.kn-seq .sq .what b { color: #fff; }

/* pipeline board */
.kn-pipe { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.kn-pipe .col { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; padding: 9px 8px; }
.kn-pipe .col h5 { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8b97b5; margin: 0 0 8px; display: flex; justify-content: space-between; }
.kn-pipe .col h5 span { color: #7dd3fc; }
.kn-pipe .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; padding: 7px 8px; margin-bottom: 6px; }
.kn-pipe .card b { font-size: 10.5px; color: #fff; display: block; }
.kn-pipe .card span { font-size: 9px; color: #93a0bd; }

/* iOS Shortcut card */
.sc-card { width: 300px; max-width: 100%; background: #fff; color: #0b1220; border-radius: 18px; overflow: hidden; box-shadow: 0 34px 74px -22px rgba(0,0,0,.85); }
.sc-top { padding: 12px 14px; background: linear-gradient(135deg,#10d99b,#06b6d4); color: #04231a; display: flex; align-items: center; gap: 9px; }
.sc-top .sc-ic { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; flex: none; }
.sc-top b { font-size: 13px; font-weight: 800; }
.sc-top span { font-size: 9.5px; font-weight: 600; opacity: .8; display: block; }
.sc-body { padding: 12px 14px; }
.sc-act { display: flex; align-items: center; gap: 9px; background: #f2f5f9; border-radius: 10px; padding: 9px 11px; margin-bottom: 7px; }
.sc-act .num { width: 20px; height: 20px; border-radius: 6px; background: #0a7cff; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.sc-act .tx { font-size: 11px; color: #1a2233; line-height: 1.3; }
.sc-act .tx b { font-weight: 700; }
.sc-act.knock { background: linear-gradient(135deg,rgba(124,58,237,.1),rgba(6,182,212,.1)); border: 1px solid rgba(124,58,237,.25); }

/* ======================================================================
   HUB — product path cards (Text / Social / Outreach)
   ====================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 10px; }
.prod-card {
  display: flex; flex-direction: column;
  background: var(--glass-bg); border: 1px solid var(--hairline-strong);
  border-radius: 18px; padding: 26px 24px; backdrop-filter: blur(10px);
  position: relative; overflow: hidden; transition: transform .18s, border-color .18s;
}
.prod-card:hover { transform: translateY(-3px); border-color: rgba(124,58,237,.5); }
.prod-card.featured { border-color: rgba(124,58,237,.55); box-shadow: 0 30px 70px -30px rgba(124,58,237,.6); }
.prod-card .pc-badge { position: absolute; top: 14px; right: 14px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 10px; }
.prod-card .pc-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.prod-card .pc-ic.text { background: linear-gradient(135deg,#10d99b,#06b6d4); }
.prod-card .pc-ic.social { background: var(--accent); }
.prod-card .pc-ic.outreach { background: linear-gradient(135deg,#f0883e,#d6295f); }
.prod-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; display: flex; align-items: baseline; gap: 9px; }
.prod-card h3 .pr { font-size: 14px; font-weight: 700; color: var(--muted); }
.prod-card .pc-tag { font-size: 12.5px; color: var(--quiet); margin-bottom: 14px; }
.prod-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.prod-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.prod-card ul li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.prod-card ul li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 6px; height: 4px; border-left: 1.6px solid var(--cyan); border-bottom: 1.6px solid var(--cyan); transform: rotate(-45deg); }
.prod-card .pc-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: #fff; }
.prod-card .pc-cta::after { content: '→'; transition: transform .18s; }
.prod-card:hover .pc-cta::after { transform: translateX(4px); }

/* channel chip strip */
.chan-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chan-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--glass-bg); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 500; color: var(--muted); }
.chan-chip .ci { width: 20px; height: 20px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.chan-chip .ci.sms { background: #10d99b; } .chan-chip .ci.li { background: #0a66c2; } .chan-chip .ci.fb { background: #0084ff; } .chan-chip .ci.ig { background: var(--ig-grad); } .chan-chip .ci.x { background: #000; border: 1px solid #333; }

/* ======================================================================
   PLATFORM CAPABILITIES — matrix + per-platform chip detail
   ====================================================================== */

/* capability matrix table */
.cap-matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.cap-matrix {
  width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0;
  background: var(--glass-bg); border: 1px solid var(--hairline-strong);
  border-radius: 16px; overflow: hidden; font-size: 13.5px;
}
.cap-matrix thead th {
  padding: 14px 10px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--hairline-strong);
  background: rgba(255,255,255,.02); text-align: center;
}
.cap-matrix thead th:first-child { text-align: left; padding-left: 18px; }
.cap-matrix tbody th {
  text-align: left; padding: 13px 12px 13px 18px; font-weight: 700; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--hairline); white-space: nowrap;
}
.cap-matrix tbody th .pm-ic { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; vertical-align: middle; margin-right: 9px; }
.cap-matrix tbody th .pm-ic.li { background: #0a66c2; } .cap-matrix tbody th .pm-ic.fb { background: #0084ff; } .cap-matrix tbody th .pm-ic.ig { background: var(--ig-grad); } .cap-matrix tbody th .pm-ic.x { background: #000; border: 1px solid #333; } .cap-matrix tbody th .pm-ic.sms { background: #10d99b; }
.cap-matrix td { padding: 13px 10px; text-align: center; border-bottom: 1px solid var(--hairline); color: var(--quiet); }
.cap-matrix tbody tr:last-child th, .cap-matrix tbody tr:last-child td { border-bottom: none; }
.cap-matrix .yes { color: var(--green); font-weight: 800; }
.cap-matrix .yes svg { display: inline-block; vertical-align: middle; }
.cap-matrix .dash { color: var(--quiet); opacity: .5; }
.cap-matrix tbody tr:hover td, .cap-matrix tbody tr:hover th { background: rgba(124,58,237,.06); }

/* per-platform capability detail: capabilities column + screenshot column */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 28px 0 44px; }
.cap-grid + .cap-grid { border-top: 1px solid var(--hairline); }
.cap-grid.reverse .cap-detail { order: 2; }
.cap-grid.reverse .cap-shot { order: 1; }
.cap-shot { display: flex; justify-content: center; }
.cap-block { margin-bottom: 20px; }
.cap-block:last-child { margin-bottom: 0; }
.cap-block h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 12px;
}
.cap-block h4 .dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.cap-block.signals h4 { color: var(--cyan); } .cap-block.signals h4 .dot { background: var(--cyan); }
.cap-block.actions h4 { color: #b794f6; } .cap-block.actions h4 .dot { background: var(--violet); }
.cap-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-list li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--glass-bg); border: 1px solid var(--hairline-strong);
  border-radius: 999px; padding: 8px 14px; font-size: 13.5px; color: var(--text);
}
.cap-list li::before {
  content: ''; width: 6px; height: 4px; flex: none;
  border-left: 1.6px solid var(--cyan); border-bottom: 1.6px solid var(--cyan);
  transform: rotate(-45deg); margin-top: -2px;
}
.cap-block.actions .cap-list li::before { border-color: var(--violet); }
.cap-pace {
  display: flex; align-items: center; gap: 9px; margin-top: 16px;
  padding: 11px 14px; background: rgba(16,217,155,.08);
  border: 1px solid rgba(16,217,155,.28); border-radius: 12px;
  font-size: 12.5px; color: #b6f0da;
}
.cap-pace svg { flex: none; color: var(--green); }
.cap-pace b { color: #fff; font-weight: 700; }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
/* ======================================================================
   OUTREACH DEEP-DIVE (Facebook mechanics) — additive components used by
   how-it-works-outreach-facebook.php. Native FB feed post, group-signal
   highlight, "engagement ladder" rail, and the personal-profile-vs-Page
   comparison. All classes are net-new / prefixed; nothing here is shared
   with the existing how-it-works pages.
   ====================================================================== */

/* --- Facebook feed / group post (native, in a .device.fb frame) --- */
.fb-post { padding: 11px 13px 12px; }
.fb-post .fp-h { display: flex; gap: 8px; align-items: flex-start; }
.fb-post .fp-h .avm { background: linear-gradient(135deg,#5b8def,#2f6bd8); }
.fb-post .fp-h .i { flex: 1; line-height: 1.25; min-width: 0; }
.fb-post .fp-h .i b { font-size: 11.5px; }
.fb-post .fp-h .i .grp { display: block; font-size: 9px; color: #0084ff; font-weight: 700; }
.fb-post .fp-h .i .grp b { font-weight: 700; }
.fb-post .fp-h .i .t { display: block; font-size: 9px; color: #8b93a7; }
.fb-post .fp-tx { font-size: 11.5px; line-height: 1.44; margin: 9px 0; color: #1a2233; }
/* intent-signal highlight Knock lifts out of a post */
.fp-sig { border-radius: 9px; padding: 10px 11px; background: linear-gradient(135deg,rgba(124,58,237,.1),rgba(6,182,212,.1)); border: 1px solid rgba(124,58,237,.28); margin-bottom: 9px; }
.fp-sig .lbl { font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7c3aed; }
.fp-sig .val { font-size: 12px; font-weight: 700; line-height: 1.25; margin-top: 2px; color: #1a2233; }
.fp-react { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: #8b93a7; padding: 8px 0; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; margin: 2px 0 8px; }
.fp-react .rx { display: inline-flex; }
.fp-react .rx i { width: 14px; height: 14px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; color: #fff; margin-left: -3px; border: 1.5px solid #fff; }
.fp-react .rx i:first-child { margin-left: 0; }
.fp-you { display: flex; gap: 6px; margin-top: 4px; align-items: flex-start; }
.fp-you .avm { width: 22px; height: 22px; font-size: 9px; background: linear-gradient(135deg,#7c3aed,#06b6d4); }
.fp-you .bub { flex: 1; background: #f0f2f5; border-radius: 3px 12px 12px 12px; padding: 7px 10px; font-size: 10.5px; line-height: 1.38; color: #1a2233; }
.fp-you .bub b { font-size: 9px; display: block; color: #0084ff; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }

/* inbound comment on YOUR post + your drafted reply */
.fp-cmt { display: flex; gap: 6px; margin-top: 9px; align-items: flex-start; }
.fp-cmt .avm { width: 22px; height: 22px; font-size: 9px; background: linear-gradient(135deg,#ef9b6e,#d97757); }
.fp-cmt .cw { flex: 1; min-width: 0; }
.fp-cmt .cb { background: #f0f2f5; border-radius: 3px 12px 12px 12px; padding: 6px 10px; font-size: 10.5px; line-height: 1.35; color: #1a2233; }
.fp-cmt .cb b { display: block; font-size: 10px; margin-bottom: 1px; }
.fp-cmt .cmeta { font-size: 8.5px; color: #8b93a7; margin: 3px 0 0 4px; font-weight: 700; }
.fp-cmt .cmeta .liked { color: #0084ff; }
.fp-reply { margin-left: 28px; margin-top: 6px; }

/* Instagram photo placeholder (gradient stand-in — no stock imagery) */
.ig-ph { width: 100%; height: 152px; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.ig-ph .tag { position: relative; z-index: 1; background: rgba(20,10,20,.32); color: #fff; padding: 5px 13px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .01em; }
.ig-ph.glow { background: linear-gradient(135deg,#f7c9d6,#e8a0b8 45%,#b978a0); }
.ig-ph.beforeafter { background: linear-gradient(120deg,#efd9c2 0%,#efd9c2 49.5%,#fff 49.5%,#fff 50.5%,#e7c6a4 50.5%); }
.ig-ph.skincare { background: linear-gradient(135deg,#fde4d0,#f6b99a 55%,#e2926f); }
.ig-ph.results { background: linear-gradient(135deg,#e7d6ff,#c9a7f0 50%,#9b6fd6); }

/* Instagram DM thread (story-reply lands in DMs, then the conversation) */
.ig-dm { padding: 12px 11px; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; flex: 1; }
.ig-dm .story-ref { align-self: flex-end; max-width: 84%; display: flex; gap: 7px; align-items: center; border: 1px solid #e6e8ee; border-radius: 16px; padding: 5px 9px 5px 6px; }
.ig-dm .story-ref .thumb { width: 22px; height: 30px; border-radius: 6px; background: linear-gradient(135deg,#feda75,#d62976); flex: none; }
.ig-dm .story-ref .rt { line-height: 1.25; }
.ig-dm .story-ref .rt small { display: block; font-size: 8px; color: #8b93a7; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ig-dm .story-ref .rt b { font-size: 10px; color: #1a2233; font-weight: 600; }
.ig-dm .idm { max-width: 80%; padding: 7px 12px; border-radius: 18px; font-size: 11px; line-height: 1.36; }
.ig-dm .idm.in { align-self: flex-start; background: #efeff0; color: #1a2233; border-bottom-left-radius: 5px; }
.ig-dm .idm.out { align-self: flex-end; color: #fff; border-bottom-right-radius: 5px; background: linear-gradient(135deg,#a033ff,#e0399a 55%,#ff5e3a); }
.ig-dm .idm-note { align-self: center; font-size: 8.5px; color: #b0b3bd; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 2px 0; }

/* LinkedIn message thread + connection-request note */
.li-dm { padding: 12px 12px; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; flex: 1; }
.li-dm .lnote { align-self: stretch; background: #f3f6f9; border: 1px solid #e2e9f0; border-left: 3px solid #0a66c2; border-radius: 8px; padding: 8px 10px; font-size: 10.5px; line-height: 1.4; color: #1a2233; }
.li-dm .lnote b { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; color: #0a66c2; margin-bottom: 3px; }
.li-dm .lsys { align-self: center; font-size: 8.5px; color: #5f7893; font-weight: 700; background: #eef3f8; border-radius: 999px; padding: 3px 11px; }
.li-dm .lsys b { color: #0a66c2; }
.li-dm .ldm { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: 11px; line-height: 1.4; }
.li-dm .ldm.in { align-self: flex-start; background: #eef1f4; color: #1a2233; border-bottom-left-radius: 5px; }
.li-dm .ldm.out { align-self: flex-end; background: #0a66c2; color: #fff; border-bottom-right-radius: 5px; }

/* X (Twitter) — dark signal chip, threaded reply, DM thread */
.x-sig { border-radius: 9px; padding: 9px 11px; background: rgba(29,155,240,.12); border: 1px solid rgba(29,155,240,.34); margin-top: 9px; }
.x-sig .lbl { font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1d9bf0; }
.x-sig .val { font-size: 11.5px; font-weight: 600; line-height: 1.3; margin-top: 2px; color: #e7e9ea; }
.x-reply { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #242628; }
.x-reply .avm { width: 24px; height: 24px; font-size: 10px; background: linear-gradient(135deg,#7c3aed,#06b6d4); flex: none; }
.x-reply .rb { flex: 1; min-width: 0; }
.x-reply .rb .rh { font-size: 10px; color: #71767b; margin-bottom: 2px; }
.x-reply .rb .rh b { color: #e7e9ea; }
.x-reply .rb .rtx { font-size: 11px; line-height: 1.4; color: #e7e9ea; }
.x-dm { padding: 12px 12px; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; flex: 1; }
.x-dm .xdm { max-width: 82%; padding: 8px 12px; border-radius: 17px; font-size: 11px; line-height: 1.4; }
.x-dm .xdm.in { align-self: flex-start; background: #202327; color: #e7e9ea; border-bottom-left-radius: 5px; }
.x-dm .xdm.out { align-self: flex-end; background: #1d9bf0; color: #fff; border-bottom-right-radius: 5px; }
.x-dm .xdm-note { align-self: center; font-size: 8.5px; color: #71767b; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 2px 0; }

/* --- The engagement ladder (vertical rungs, dark, sits in a copy column) --- */
.ladder { list-style: none; padding: 0; margin: 8px 0 0; position: relative; }
.ladder::before { content: ''; position: absolute; left: 15px; top: 10px; bottom: 14px; width: 2px; background: linear-gradient(180deg,#7c3aed,#06b6d4); border-radius: 2px; }
.ladder li { position: relative; padding: 0 0 16px 44px; }
.ladder li:last-child { padding-bottom: 0; }
.ladder li .rung { position: absolute; left: 4px; top: -1px; width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg,#7c3aed,#06b6d4); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.ladder li h5 { font-size: 15px; font-weight: 700; margin: 1px 0 3px; color: var(--text); }
.ladder li p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.ladder li .gate { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 700; color: var(--green); background: rgba(16,217,155,.1); border: 1px solid rgba(16,217,155,.28); border-radius: 999px; padding: 2px 9px; }

/* --- Personal profile vs Business Page comparison --- */
.pp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 6px; }
.pp-col { background: var(--glass-bg); border: 1px solid var(--hairline-strong); border-radius: 18px; padding: 24px 22px; position: relative; overflow: hidden; }
.pp-col.profile { border-color: rgba(124,58,237,.42); }
.pp-col.page { border-color: rgba(0,132,255,.42); }
.pp-col .pp-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.pp-col.profile .pp-tag { color: #c9b6ff; background: rgba(124,58,237,.16); border: 1px solid rgba(124,58,237,.36); }
.pp-col.page .pp-tag { color: #9ecbff; background: rgba(0,132,255,.14); border: 1px solid rgba(0,132,255,.36); }
.pp-col h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.pp-col .pp-role { font-size: 13px; color: var(--quiet); margin-bottom: 16px; }
.pp-col h6 { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 16px 0 9px; }
.pp-list { list-style: none; padding: 0; margin: 0; }
.pp-list li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.pp-list li .mk { position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
.pp-list li .mk.can { background: rgba(16,217,155,.16); color: #10d99b; }
.pp-list li .mk.cant { background: rgba(255,107,138,.16); color: #ff6b8a; }
.pp-col .pp-note { margin-top: 16px; font-size: 12px; line-height: 1.45; color: var(--muted); padding: 11px 13px; border-radius: 11px; background: rgba(255,255,255,.03); border: 1px solid var(--hairline); }
.pp-col .pp-note b { color: var(--text); }

/* the "so who does what" summary line under the two columns */
.pp-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.pp-summary div { font-size: 13px; color: var(--muted); line-height: 1.5; padding: 14px 16px; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--hairline); }
.pp-summary div b { color: var(--text); }
.pp-summary .arrow { color: var(--cyan); font-weight: 800; }

@media (max-width: 920px) { .prod-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }
@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .cap-grid.reverse .cap-detail { order: 1; }
  .cap-grid.reverse .cap-shot { order: 2; }
  .pp-cols, .pp-summary { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hiw-step { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .hiw-step.reverse .hiw-copy { order: 1; }
  .hiw-step.reverse .hiw-shot { order: 2; }
  .hiw-copy p { max-width: 100%; }
  .kn-win, .kn-win.sm { width: 100%; }
}
