/* AI Employee blog template (shared). Closing CTA, TOC, figure spacing, 3D hero motion. */
/* Private preview only — 3D hero + mid-article infographic + in-body static photo */


.blog-article .blog-infographic{margin:48px 0 80px;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden;scroll-margin-top:96px}
.blog-article .blog-infographic>img{display:block;width:100%;height:auto;max-width:100%;margin:0;border-radius:0}
.blog-article .blog-infographic figcaption{padding:12px 16px 10px;font-size:15px;line-height:1.5;color:var(--muted);margin:0}
.blog-infographic-share{padding:12px 16px 16px;border-top:1px solid var(--line)}
.blog-infographic-share p{margin:0 0 8px;font-size:15px;color:var(--muted)}
.blog-infographic-share-label{font-weight:700;color:var(--ink)!important;font-size:16px!important;margin-bottom:6px!important}
.blog-infographic-share textarea{width:100%;min-height:96px;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:var(--slot);color:var(--ink);font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;padding:10px 12px;resize:vertical}
.blog-infographic-share .share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.blog-infographic-share button,
.blog-infographic-share a.share-btn{cursor:pointer;background:var(--accent);color:#fff;border:0;border-radius:999px;padding:8px 14px;font:700 14px/1.2 'Source Sans 3',sans-serif;text-decoration:none;display:inline-flex;align-items:center}
.blog-infographic-share a.share-btn.secondary,
.blog-infographic-share button.secondary{background:transparent;color:var(--ink);border:1px solid var(--line)}
.blog-infographic-share .share-note{font-size:13px;color:var(--muted2)}
.blog-article .blog-hero-motion{margin:28px 0 32px;padding:0;border:0;background:transparent;scroll-margin-top:96px}
.blog-article .blog-hero-motion .blog-motion-media{position:relative;aspect-ratio:1200/676;background:#111;border-radius:16px;overflow:hidden}
.blog-article .blog-hero-motion .blog-hero-poster{display:block;width:100%;height:auto;aspect-ratio:1200/676;object-fit:cover;margin:0;border-radius:0}
.blog-article .blog-hero-motion .blog-motion-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0;opacity:0;transition:opacity .35s ease}
.blog-article .blog-hero-motion .blog-motion-video.is-playing{opacity:1}
.blog-article .blog-hero-motion figcaption{padding:10px 4px 0;font-size:15px;line-height:1.5;color:var(--muted);margin:0}
.blog-article .blog-inline-photo{margin:80px 0 80px;padding:0;scroll-margin-top:96px}
@media (max-width:600px){
  .blog-article .blog-infographic{margin:36px 0 48px}
  .blog-article .blog-inline-photo{margin:48px 0 48px}
}
.blog-article .blog-inline-photo img{display:block;width:100%;height:auto;margin:0;border-radius:16px}
.blog-article .blog-inline-photo figcaption{padding:10px 4px 0;font-size:15px;line-height:1.5;color:var(--muted);margin:0}
@media (prefers-reduced-motion: reduce){
  .blog-article .blog-hero-motion .blog-motion-video{display:none;opacity:0}
}
.blog-article h2,#blog-closing{scroll-margin-top:96px}
.blog-closing{margin:64px 0 28px;padding:36px 32px 28px;border-radius:20px;background:#141414;color:#FAFAFA;position:relative;isolation:isolate}
.blog-closing::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:linear-gradient(135deg,#510EB9 0%,#6F0BC2 35%,#D629B1 70%,#F6AD29 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.blog-closing-kicker{margin:0 0 12px;display:inline-flex;align-items:center;gap:8px;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:#EBE9FE;line-height:1}
.blog-closing-badge{width:24px;height:24px;display:block;flex-shrink:0}
.blog-closing-title{margin:0 0 12px;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:34px;line-height:1.15;color:#FAFAFA}
.blog-closing-lead{margin:0 0 24px;font-size:18px;line-height:1.5;color:#FAFAFA}
.blog-closing-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px}
.blog-closing-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;font:800 16px/1.2 'Source Sans 3',sans-serif;text-decoration:none}
/* Force readable labels. `.blog-shell a{color:var(--accent)}` is (0,1,1) and
   would otherwise paint the gradient button purple-on-purple. */
.blog-shell a.blog-closing-btn-demo,
.blog-shell a.blog-closing-btn-demo:link,
.blog-shell a.blog-closing-btn-demo:visited,
.blog-shell a.blog-closing-btn-demo:hover,
.blog-shell a.blog-closing-btn-demo:focus,
.blog-shell a.blog-closing-btn-demo:focus-visible,
.blog-shell a.blog-closing-btn-demo:active,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo:link,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo:visited,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo:hover,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo:focus,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo:focus-visible,
html[data-theme="light"] .blog-shell a.blog-closing-btn-demo:active,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo:link,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo:visited,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo:hover,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo:focus,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo:focus-visible,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-demo:active{
  background:linear-gradient(90deg,#510EB9 0%,#6F0BC2 42%,#C420A0 100%);
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  border:2px solid transparent;
  text-decoration:none !important;
  filter:none;
}
.blog-shell a.blog-closing-btn-demo:hover,
.blog-shell a.blog-closing-btn-demo:focus-visible{
  box-shadow:0 0 0 3px rgba(111,11,194,.35);
  filter:none;
}
.blog-shell a.blog-closing-btn-audit,
.blog-shell a.blog-closing-btn-audit:link,
.blog-shell a.blog-closing-btn-audit:visited,
.blog-shell a.blog-closing-btn-audit:hover,
.blog-shell a.blog-closing-btn-audit:focus,
.blog-shell a.blog-closing-btn-audit:active,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-audit,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-audit:visited,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-audit:hover{
  background:transparent;
  color:#FAFAFA !important;
  -webkit-text-fill-color:#FAFAFA !important;
  border:2px solid #6F0BC2;
  text-decoration:none !important;
}
.blog-shell a.blog-closing-btn-signup,
.blog-shell a.blog-closing-btn-signup:link,
.blog-shell a.blog-closing-btn-signup:visited,
.blog-shell a.blog-closing-btn-signup:hover,
.blog-shell a.blog-closing-btn-signup:focus,
.blog-shell a.blog-closing-btn-signup:active,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-signup,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-signup:visited,
html[data-theme="dark"] .blog-shell a.blog-closing-btn-signup:hover{
  background:transparent;
  color:#FAFAFA !important;
  -webkit-text-fill-color:#FAFAFA !important;
  border:2px solid #F6AD29;
  text-decoration:none !important;
}
html[data-theme="light"] .blog-shell a.blog-closing-btn-audit,
html[data-theme="light"] .blog-shell a.blog-closing-btn-audit:link,
html[data-theme="light"] .blog-shell a.blog-closing-btn-audit:visited,
html[data-theme="light"] .blog-shell a.blog-closing-btn-audit:hover,
html[data-theme="light"] .blog-shell a.blog-closing-btn-audit:focus,
html[data-theme="light"] .blog-shell a.blog-closing-btn-audit:active{
  color:#1C1917 !important;
  -webkit-text-fill-color:#1C1917 !important;
  border-color:#6F0BC2;
}
html[data-theme="light"] .blog-shell a.blog-closing-btn-signup,
html[data-theme="light"] .blog-shell a.blog-closing-btn-signup:link,
html[data-theme="light"] .blog-shell a.blog-closing-btn-signup:visited,
html[data-theme="light"] .blog-shell a.blog-closing-btn-signup:hover,
html[data-theme="light"] .blog-shell a.blog-closing-btn-signup:focus,
html[data-theme="light"] .blog-shell a.blog-closing-btn-signup:active{
  color:#1C1917 !important;
  -webkit-text-fill-color:#1C1917 !important;
  border-color:#D629B1;
}
.blog-closing-trust{margin:0;font-size:15px;line-height:1.5;color:#D4D4D4}
.blog-closing-trust a{color:#EBE9FE;text-decoration:underline}
html[data-theme="light"] .blog-closing{background:#FFFFFF;color:#1C1917}
html[data-theme="light"] .blog-closing-title,html[data-theme="light"] .blog-closing-lead{color:#1C1917}
html[data-theme="light"] .blog-closing-kicker{color:#6F0BC2}
html[data-theme="light"] .blog-closing-trust{color:#433E39}
html[data-theme="light"] .blog-closing-trust a{color:#6F0BC2}
@media (max-width:600px){
  .blog-closing{margin:48px 0 24px;padding:28px 20px 22px}
  .blog-closing-title{font-size:28px}
  .blog-closing-btn{width:100%}
}

/* Sticky / floating "On this page" TOC */
.blog-toc{display:none}
.blog-toc-pill{appearance:none;cursor:pointer;border:0;font:700 14px/1 'Source Sans 3',sans-serif;color:#FAFAFA;background:#141414;padding:12px 16px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.28);position:relative;z-index:2}
.blog-toc-pill::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:linear-gradient(135deg,#510EB9,#6F0BC2,#D629B1,#F6AD29);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.blog-toc-panel{background:#141414;color:#FAFAFA;border-radius:16px;position:relative;isolation:isolate;box-sizing:border-box}
.blog-toc-panel::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:linear-gradient(135deg,#510EB9 0%,#6F0BC2 35%,#D629B1 70%,#F6AD29 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.blog-toc-heading{margin:0;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#EBE9FE}
.blog-toc-list{list-style:none;margin:0;padding:0}
.blog-toc-list a,
.blog-toc-list a:link,
.blog-toc-list a:visited,
.blog-shell .blog-toc-list a,
.blog-toc a.blog-toc-top,
.blog-toc a.blog-toc-top:visited{
  position:relative;display:block;padding:7px 10px 7px 14px;border-radius:8px;color:#B7B2BD !important;-webkit-text-fill-color:#B7B2BD !important;text-decoration:none !important;font:600 13px/1.35 'Source Sans 3',sans-serif
}
.blog-toc-list a.is-active,
.blog-toc-list a.is-active:visited,
.blog-shell .blog-toc-list a.is-active{
  color:#FAFAFA !important;-webkit-text-fill-color:#FAFAFA !important
}
.blog-toc-list a.is-active::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:2px;background:linear-gradient(180deg,#510EB9,#6F0BC2,#D629B1,#F6AD29)}
.blog-toc-list a:focus-visible,.blog-toc-pill:focus-visible,.blog-toc-close:focus-visible,.blog-toc a.blog-toc-top:focus-visible{outline:2px solid #6F0BC2;outline-offset:2px}
.blog-toc a.blog-toc-top,.blog-toc a.blog-toc-top:visited{margin-top:8px;padding:8px 10px;font-size:12px;color:#EBE9FE !important;-webkit-text-fill-color:#EBE9FE !important}
.blog-toc-close{appearance:none;background:transparent;border:0;color:#FAFAFA;font-size:22px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:8px}
.blog-toc-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
@media (min-width:1200px){
  main.blog-shell{max-width:1360px;padding-right:280px;padding-left:32px}
  .blog-toc{display:block;position:fixed;top:112px;width:236px;max-height:calc(100vh - 140px);right:max(20px, calc((100vw - min(1360px, 100vw)) / 2 + 20px));z-index:30;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease}
  .blog-toc.is-visible{opacity:1;pointer-events:auto;transform:none}
  .blog-toc-pill,.blog-toc-backdrop,.blog-toc-close{display:none !important}
  .blog-toc-panel{display:block;padding:16px 14px 14px;max-height:calc(100vh - 140px);overflow:auto}
  .blog-toc-panel-head{margin-bottom:8px}
}
@media (max-width:1199px){
  .blog-toc{display:block;position:fixed;right:16px;bottom:calc(var(--audit-dock-space,96px) + 16px + env(safe-area-inset-bottom,0px));z-index:35;opacity:0;pointer-events:none;transition:opacity .2s ease}
  .blog-toc.is-visible{opacity:1;pointer-events:auto}
  .blog-toc.is-away{opacity:0;pointer-events:none}
  .blog-toc-backdrop{display:none;position:fixed;inset:0;background:rgba(3,3,3,.55);z-index:1}
  .blog-toc-panel{display:none;position:fixed;left:0;right:0;bottom:0;z-index:2;padding:20px 20px calc(24px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;max-height:min(78vh,640px);overflow:auto}
  .blog-toc.is-open{opacity:1;pointer-events:auto}
  .blog-toc.is-open .blog-toc-backdrop{display:block}
  .blog-toc.is-open .blog-toc-panel{display:block}
  .blog-toc.is-open .blog-toc-pill{display:none}
}
html[data-theme="light"] .blog-toc-pill{background:#FFFFFF;color:#1C1917}
html[data-theme="light"] .blog-toc-panel{background:#FFFFFF;color:#1C1917}
html[data-theme="light"] .blog-toc-heading{color:#6F0BC2}
html[data-theme="light"] .blog-toc-close{color:#1C1917}
html[data-theme="light"] .blog-toc-list a,
html[data-theme="light"] .blog-toc-list a:link,
html[data-theme="light"] .blog-toc-list a:visited,
html[data-theme="light"] .blog-shell .blog-toc-list a{
  color:#57514B !important;-webkit-text-fill-color:#57514B !important
}
html[data-theme="light"] .blog-toc-list a.is-active,
html[data-theme="light"] .blog-toc-list a.is-active:visited{
  color:#1C1917 !important;-webkit-text-fill-color:#1C1917 !important
}
html[data-theme="light"] .blog-toc a.blog-toc-top,
html[data-theme="light"] .blog-toc a.blog-toc-top:visited{color:#6F0BC2 !important;-webkit-text-fill-color:#6F0BC2 !important}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .blog-toc,.blog-toc.is-visible{transition:none;transform:none}
}
